using System;
using System.Collections.Generic;
using System.Text;

namespace Entity
{
	public class Project
	{
		protected int _id;
		protected string _name = String.Empty;
		protected string _memo = String.Empty;
        private string _startname;
        private string _endname;
		protected DateTime _startdate;
		protected DateTime _enddate;
		protected int _supervisorid;
		protected string _period = String.Empty;
		protected double _investment;
		protected string _startstake = String.Empty;
		protected string _endstake = String.Empty;
		protected string _centerstake = String.Empty;
		protected double _distance;
		protected double _rate;
		protected int _suflevel;
		protected int _teclevel;
		protected int _suftype;
		protected int _sufstatus;
		protected int _terrain;
        private string _smID;
        private string _cities;
        private string _strsupervisor;

       
		
		
		
		#region Public Properties

        public string cities
        {
            get { return _cities; }
            set { _cities = value; }
        }
		public int Id
		{
            set { _id = value; }
			get {return _id;}
		}
		
		public string name
		{
			get {return _name;}
			set {_name = value;}
		}

		public string memo
		{
			get {return _memo;}
			set {_memo = value;}
		}

		public DateTime startdate
		{
			get {return _startdate;}
			set {_startdate = value;}
		}

		public DateTime enddate
		{
			get {return _enddate;}
			set {_enddate = value;}
		}

		public int supervisorid
		{
			get {return _supervisorid;}
			set {_supervisorid = value;}
		}

		public string period
		{
			get {return _period;}
			set {_period = value;}
		}

		public double investment
		{
			get {return _investment;}
			set {_investment = value;}
		}

		public string startstake
		{
			get {return _startstake;}
			set {_startstake = value;}
		}

		public string endstake
		{
			get {return _endstake;}
			set {_endstake = value;}
		}

		public string centerstake
		{
			get {return _centerstake;}
			set {_centerstake = value;}
		}

		public double distance
		{
			get {return _distance;}
			set {_distance = value;}
		}

		public double rate
		{
			get {return _rate;}
			set {_rate = value;}
		}

		public int suflevel
		{
			get {return _suflevel;}
			set {_suflevel = value;}
		}

		public int teclevel
		{
			get {return _teclevel;}
			set {_teclevel = value;}
		}

		public int suftype
		{
			get {return _suftype;}
			set {_suftype = value;}
		}

		public int sufstatus
		{
			get {return _sufstatus;}
			set {_sufstatus = value;}
		}

		public int terrain
		{
			get {return _terrain;}
			set {_terrain = value;}
		}

        public string SMID
        {
            get { return _smID; }
            set { _smID = value; }
        }

        public Project()
        {
        }

        public Project(object id, object name)
        {
            _id = (int)id;
            _name = (string)name;
        }

        public string startname
        {
            get { return _startname; }
            set { _startname = value; }
        }
        public string endname
        {
            get { return _endname; }
            set { _endname = value; }
        }
        public string SupervisorName
        {
            get { return _strsupervisor; }
            set { _strsupervisor = value; }
        }
		#endregion
		
	
	}

    
}
